﻿namespace Hippo.Common
{
    using Autofac;

    public class ContainerFactory
    {
        public static IContainer Current { get; set; }

        public static void Load<TContainerBuilder>()
            where TContainerBuilder : ContainerBuilder, new()
        {
            Current = new TContainerBuilder().Build();
        }
    }
}
